package model;

import java.util.ArrayList;


public abstract class Hall {
	protected int capacity;
	protected String name;
	protected ArrayList<Event> ListOfEvent = new ArrayList<Event>();

	public ArrayList<Event> getListOfEvent() {
		return ListOfEvent;
	}
	public void viewAllHallEvents(){
		for(int i = 0; i<ListOfEvent.size(); i++){
			System.out.println(ListOfEvent.get(i).toString());
		}	
	}
	//public static Hall getInstance;
	
	public String getName(){
		return name;
	}
	public void add(Event e){
		ListOfEvent.add(e);
	}
}
